//新成本对比现成本，差率大于等于10%时，需提醒。
var result_FS_5 = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"FS_5"}');
var JSON_CSRL_LIST = !isNull(CSRL) ? JSON.parse(find_Item_inCSRL(ITEM_NBR, CSRL)) : [];
if (isFresh(DEPT_NBR) && !isNull(NEW_CASE_COST)) {
    var currentCost = getCurrentCost(JSON_CSRL_LIST, NEW_COST_EFF_DATE, NEW_RETAIL_EFF_DATE);
    var diff = NEW_CASE_COST - currentCost;
    var diffRate = (diff/currentCost)*100;
    if (diffRate>=10){
        result_FS_5.CODE = 1;
        result_FS_5.ACTION = "OTHER_REMINDS";
        result_FS_5.MSG = "新成本对比现成本，差率大于等于10%";
    }
}
JSON.stringify(result_FS_5);
